<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
	contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<body>
	<h1>Result of the User Search</h1>

	<c:choose>
		<c:when test="${empty message}">
			<table>
				<tr>
					<th>Common Name</th>
					<th>Surname</th>
					<th colspan="3"></th>
					<!--<th>Password</th>-->
				</tr>
				<tr>
					<td>${user.cn}</td>
					<td>${user.sn}</td>
					<!--<td>${user.pwd}</td>-->
					<td><a href="/LDAP/secure/LDAP_user/delete/${user.cn}">DELETE</a>
					</td>
					<td><a href="/LDAP/secure/LDAP_user/update/${user.cn}">EDIT</a>
					</td>
					<td><a href="/LDAP/secure/LDAP_user/details/${user.cn}">DETAILS</a>
					</td>
				</tr>
			</table>
		</c:when>
		<c:otherwise>
			<p>${message}</p>
		</c:otherwise>
	</c:choose>
	<a href="/LDAP/secure/LDAP_user">Revenir à la liste des
		utilisateurs</a>
	
</body>
</html>